Click here to Skip to main content
15,899,754 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

 
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 
GeneralRe: Possibility to add languages to pre tag ? Pin
Patrice T13-Jan-21 6:31
mvePatrice T13-Jan-21 6:31 
GeneralRe: Possibility to add languages to pre tag ? Pin
Patrice T4-Dec-20 16:29
mvePatrice T4-Dec-20 16:29 
GeneralRe: Possibility to add languages to pre tag ? Pin
Greg Utas4-Dec-20 23:08
professionalGreg Utas4-Dec-20 23:08 
GeneralRe: Possibility to add languages to pre tag ? Pin
Patrice T4-Dec-20 23:20
mvePatrice T4-Dec-20 23:20 
SuggestionDelete my account Pin
User 711040426-Nov-20 1:17
User 711040426-Nov-20 1:17 
GeneralRe: Delete my account Pin
Richard Deeming26-Nov-20 1:52
mveRichard Deeming26-Nov-20 1:52 
SuggestionChange Avatar Broken Pin
W Balboos, GHB25-Nov-20 2:12
W Balboos, GHB25-Nov-20 2:12 
GeneralRe: Change Avatar Broken Pin
Greg Utas25-Nov-20 2:46
professionalGreg Utas25-Nov-20 2:46 
GeneralRe: Change Avatar Broken Pin
W Balboos, GHB25-Nov-20 2:52
W Balboos, GHB25-Nov-20 2:52 
GeneralRe: Change Avatar Broken Pin
Greg Utas25-Nov-20 2:57
professionalGreg Utas25-Nov-20 2:57 
GeneralRe: Change Avatar Broken Pin
W Balboos, GHB25-Nov-20 3:02
W Balboos, GHB25-Nov-20 3:02 

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

Flags: CompletedAnsweredSolved

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