Search found 14 matches
- Thu Nov 10, 2005 1:32 pm
- Forum: The PureBasic Editor
- Topic: Syntax highlighter for vim - Now Available V2!
- Replies: 17
- Views: 9397
Re: Syntax highlighter for vim - Now Available V2!
Nice to know, that somebody else uses vim for pb; i posted a syntax file quite some time ago at vim org (where it is still avaliable) and also mentioned it here, but since neither a vote there nor any feedback arrived, I didn't dare to upload the version containing the keywords missed the first time ...
- Mon Jul 19, 2004 10:13 am
- Forum: General Discussion
- Topic: XSL Help
- Replies: 3
- Views: 1522
- Wed Jul 14, 2004 4:40 pm
- Forum: General Discussion
- Topic: Does PB short-circuit expressions?
- Replies: 17
- Views: 5011
- Mon Feb 23, 2004 4:28 pm
- Forum: Feature Requests and Wishlists
- Topic: [Implemented] Random with max, min and type
- Replies: 5
- Views: 2386
- Tue Jan 27, 2004 9:25 am
- Forum: Feature Requests and Wishlists
- Topic: ForNext "Autostep"
- Replies: 25
- Views: 5642
- Mon Jan 26, 2004 11:16 am
- Forum: Feature Requests and Wishlists
- Topic: ForNext "Autostep"
- Replies: 25
- Views: 5642
i consider for / next to be something simple and quick to create loops, i'd go for while / wend for anything more complex
In the extreme you could substitute all loops by if and goto :wink:. Striving for a code reflecting the problem it's out of question, that the purpose of a for loop is building ...
In the extreme you could substitute all loops by if and goto :wink:. Striving for a code reflecting the problem it's out of question, that the purpose of a for loop is building ...
- Mon Jan 26, 2004 9:12 am
- Forum: Feature Requests and Wishlists
- Topic: ForNext "Autostep"
- Replies: 25
- Views: 5642
Sign function would help, but...
The ugly aspect of AUTOSTEP is, that it adds a keyword for a single scenario. (It wouldn't work at all in Pascal where TO a DOWNTO are distinct keywords.) Typically the problem is solved with the arithmetic sign function available as SGN in ancient BASICs.
Given that this function is missing in PB ...
Given that this function is missing in PB ...
- Thu Jan 15, 2004 4:18 pm
- Forum: Feature Requests and Wishlists
- Topic: (Compiler Option) In-Memory source files.
- Replies: 17
- Views: 4419
- Mon Jan 12, 2004 12:41 pm
- Forum: Feature Requests and Wishlists
- Topic: Renaming of a few Functions
- Replies: 20
- Views: 5174
Re: Not really a function - but what about EndWhile for WEND
Yes, could be...
...but While ... Wend Loops are a standard in programming languages. Why force the advanced user to learn a new commandname? In the end it's an aliteration, W hile W end, that alone is worth keeping it the way it is ;-)
Of course its an alliteration, but its the only one to be ...
...but While ... Wend Loops are a standard in programming languages. Why force the advanced user to learn a new commandname? In the end it's an aliteration, W hile W end, that alone is worth keeping it the way it is ;-)
Of course its an alliteration, but its the only one to be ...
- Mon Jan 12, 2004 10:04 am
- Forum: Feature Requests and Wishlists
- Topic: Renaming of a few Functions
- Replies: 20
- Views: 5174
Not really a function - but what about EndWhile for WEND?
This is only for symmetry and consistency reasons, but given Interface / EndInterface, Procedure / EndProcedure, Enumeration / EndEnumeration etc I consider EndWhile much nicer than WEnd which in turn reflects the meaning still a notch better than Wend...
- Wed Jan 07, 2004 8:08 pm
- Forum: Feature Requests and Wishlists
- Topic: New Constants...
- Replies: 24
- Views: 7875
Pre-canned constants are a suboptimal solution
While of course having a resident file containing all that stuff is a solution, the example in a previous reply already showed, that the control character is not the final destination but an intermediate one like in
"text1" + #CR + "text2"
There is also not much advantage of looking up a value in ...
"text1" + #CR + "text2"
There is also not much advantage of looking up a value in ...
- Mon Dec 01, 2003 11:38 am
- Forum: The PureBasic Editor
- Topic: Vim Syntax file
- Replies: 0
- Views: 2142
Vim Syntax file
While I found a vage announcement for such a file, I couldn't find the real thing. Since standard basic syntax looks awful (treating all constants and everything to end of line as somethig else) I did it myself and uploaded it to http://www.vim.org. Greetings
- Fri Nov 28, 2003 12:20 pm
- Forum: The PureBasic Editor
- Topic: Continuation line for source file
- Replies: 47
- Views: 33055
- Fri Nov 28, 2003 10:02 am
- Forum: The PureBasic Editor
- Topic: Continuation line for source file
- Replies: 47
- Views: 33055
Continuation Lines
I tuned in late, but it seems the discussion is bypassing the most important points.
- It's quite academic to think about dividing keywords
- a continuation character is a kludge, a very low level solution, which may be the simplest to implement but has no other advantages.
- long lines are easily ...
- It's quite academic to think about dividing keywords
- a continuation character is a kludge, a very low level solution, which may be the simplest to implement but has no other advantages.
- long lines are easily ...