Click here to Skip to main content
15,912,665 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
BugArticle not found Pin
Alexey Skripka30-Nov-20 3:56
Alexey Skripka30-Nov-20 3:56 
GeneralRe: Article not found Pin
Richard MacCutchan30-Nov-20 4:05
mveRichard MacCutchan30-Nov-20 4:05 
QuestionDo we need more than one classification ... Pin
Richard MacCutchan29-Nov-20 23:26
mveRichard MacCutchan29-Nov-20 23:26 
AnswerRe: Do we need more than one classification ... Pin
OriginalGriff30-Nov-20 3:18
mveOriginalGriff30-Nov-20 3:18 
GeneralRe: Do we need more than one classification ... Pin
Richard MacCutchan30-Nov-20 3:29
mveRichard MacCutchan30-Nov-20 3:29 
GeneralRe: Do we need more than one classification ... Pin
OriginalGriff30-Nov-20 3:41
mveOriginalGriff30-Nov-20 3:41 
GeneralRe: Do we need more than one classification ... Pin
Nelek30-Nov-20 10:09
protectorNelek30-Nov-20 10:09 
AnswerRe: Do we need more than one classification ... Pin
Chris Maunder1-Dec-20 3:06
cofounderChris Maunder1-Dec-20 3:06 
GeneralRe: Do we need more than one classification ... Pin
Richard MacCutchan1-Dec-20 3:17
mveRichard MacCutchan1-Dec-20 3:17 
GeneralRe: Do we need more than one classification ... Pin
Greg Utas1-Dec-20 3:46
professionalGreg Utas1-Dec-20 3:46 
QuestionCan't post answers in the lounge? Pin
Nelek28-Nov-20 10:06
protectorNelek28-Nov-20 10:06 
AnswerRe: Can't post answers in the lounge? Pin
Matthew Dennis28-Nov-20 16:03
sysadminMatthew Dennis28-Nov-20 16:03 
SuggestionPossibility to add languages to pre tag ? Pin
Patrice T26-Nov-20 11:59
mvePatrice T26-Nov-20 11:59 
GeneralRe: Possibility to add languages to pre tag ? Pin
OriginalGriff26-Nov-20 19:26
mveOriginalGriff26-Nov-20 19:26 
GeneralRe: Possibility to add languages to pre tag ? Pin
Patrice T26-Nov-20 22:50
mvePatrice T26-Nov-20 22:50 
GeneralRe: Possibility to add languages to pre tag ? Pin
Chris Maunder27-Nov-20 8:26
cofounderChris Maunder27-Nov-20 8:26 
GeneralRe: Possibility to add languages to pre tag ? Pin
Patrice T27-Nov-20 10:04
mvePatrice T27-Nov-20 10:04 
GeneralRe: Possibility to add languages to pre tag ? Pin
Chris Maunder29-Nov-20 11:26
cofounderChris Maunder29-Nov-20 11:26 
GeneralRe: Possibility to add languages to pre tag ? Pin
Patrice T4-Dec-20 16:02
mvePatrice T4-Dec-20 16:02 
First language: xBase family
First incarnation was dBase II in the 80's. Most popular incarnation was certainly FoxPro (MS Visual FoxPro). Other incarnations were Clipper, Harbour, xHarbour, XSharp ...
Let me know the name you choose.

Keywords are not case sensitive
* is full line comment, single line
// is end of line comment, single line, same as C
/* is multi lines comment, same as C
   is multi lines comment, same as C
*/

// Literal
    Nil: NIL
    String: "hello", 'hello'
    Logical: .T., .F.
    Number: 1, 1.1, -1, 0xFF

// function is the beginning of a routine with return value
[STATIC] [UTILITY] FUNCTION <funcName>( [<params,...>] )
            <Statements>
           RETURN <retVal>

// procedure is the beginning of a routine without return value
[STATIC] [UTILITY] PROCEDURE <procName>( [<params,...>] )
            <Statements>
           RETURN

[DO] WHILE <Condition>
  <Statements>
  [EXIT]
  <Statements>
  [LOOP]
  <Statements>
END[DO]

FOR <nCounter> := <nStart> TO <nEnd> [STEP <nIncrement>]
  <Statements>
  [EXIT]
  <Statements>
  [LOOP]
NEXT

FOR EACH <element> IN <array>|<object>|<string>
   <statements>
   [LOOP]
   <statements>
   [EXIT]
NEXT

IF <Condition1>
  <Statements>
[ ELSEIF <ConditionN>
  <Statements> ] [ ELSE
  <Statements> ] END[IF]

DO CASE
   CASE <Condition1>
        <Statements1>
 [ CASE <ConditionN>
        <StatementsN> ]
 [ OTHERWISE
        <defaultStatements> ]
END[CASE]

Sample code colorized as vb:
VB
    //  Trial Division Square Root + Wheel
function TD_SRW(Prod)
    local D, Top, SPrimes, Wheel, W
    // Check small primes
    SPrimes= {2, 3}
    Wheel= {4, 2}
    for each D in SPrimes
        if Prod % D = 0
            return D
        endif
    next
    // Start the wheel
    D= 1
    Top= int(sqrt(Prod))
    while D <= Top
        for each W in wheel
            D += W
            if Prod % D = 0
                return D
            endif
        next
    enddo
    return Prod

Let me know if you need more details.
Patrice

“Everything should be made as simple as possible, but no simpler.” Albert Einstein

GeneralRe: Possibility to add languages to pre tag ? Pin
Chris Maunder30-Dec-20 3:03
cofounderChris Maunder30-Dec-20 3:03 
GeneralRe: Possibility to add languages to pre tag ? Pin
Patrice T30-Dec-20 3:38
mvePatrice T30-Dec-20 3:38 
GeneralRe: Possibility to add languages to pre tag ? Pin
Patrice T30-Dec-20 11:11
mvePatrice T30-Dec-20 11:11 
GeneralRe: Possibility to add languages to pre tag ? Pin
Chris Maunder5-Jan-21 9:12
cofounderChris Maunder5-Jan-21 9:12 
GeneralRe: Possibility to add languages to pre tag ? Pin
Patrice T5-Jan-21 9:43
mvePatrice T5-Jan-21 9:43 
GeneralRe: Possibility to add languages to pre tag ? Pin
Chris Maunder13-Jan-21 6:28
cofounderChris Maunder13-Jan-21 6:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Flags: FixedAnsweredCompleted

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.