Hello PB Lovers,
Here is my little contribution to this thread. I agree with many of your comments about functionnal programming. I also prefer to write code in PureBasic or other imperative languages. It's easier for me to think about an algorithm in PureBasic, C, java, ADA, .... But sometimes it ...
Search found 11 matches
- Wed Jun 27, 2007 8:36 am
- Forum: Feature Requests and Wishlists
- Topic: plusieurs argument retourné des procedures
- Replies: 12
- Views: 3711
- Tue Jun 26, 2007 4:15 pm
- Forum: Feature Requests and Wishlists
- Topic: plusieurs argument retourné des procedures
- Replies: 12
- Views: 3711
- Fri Jun 22, 2007 1:38 pm
- Forum: Feature Requests and Wishlists
- Topic: plusieurs argument retourné des procedures
- Replies: 12
- Views: 3711
Salut dobro,
C'est pas çà que tu cherche ?
C'est pas çà que tu cherche ?
Code: Select all
Procedure p(*a.LONG,*b.LONG)
*a\l = 10
*b\l = 10
EndProcedure
OpenConsole()
a = 20
b = 30
p(@a,@b)
PrintN("a="+Str(a))
PrintN("b="+Str(b))
Input()
CloseConsole()
- Thu Jun 21, 2007 1:56 pm
- Forum: Coding Questions
- Topic: PrintN Bug or normal behaviour
- Replies: 8
- Views: 1637
- Thu Jun 21, 2007 1:25 pm
- Forum: Coding Questions
- Topic: PrintN Bug or normal behaviour
- Replies: 8
- Views: 1637
- Wed Jun 20, 2007 3:00 pm
- Forum: Coding Questions
- Topic: PrintN Bug or normal behaviour
- Replies: 8
- Views: 1637
PrintN Bug or normal behaviour
Hello,
I'm using PB 4.02 on Win2k. The following code prints a lot of characters on the console.
OpenConsole()
msg.s
For i=1 To 1900
msg + "AZERTYUIOPQSDFGHJKLMWXCVBN" + #CRLF$
Next i
PrintN(msg)
PrintN(Str(Len(msg)) + " characters should be printed")
PrintN("Finished")
Input()
CloseConsole ...
I'm using PB 4.02 on Win2k. The following code prints a lot of characters on the console.
OpenConsole()
msg.s
For i=1 To 1900
msg + "AZERTYUIOPQSDFGHJKLMWXCVBN" + #CRLF$
Next i
PrintN(msg)
PrintN(Str(Len(msg)) + " characters should be printed")
PrintN("Finished")
Input()
CloseConsole ...
- Sat Feb 03, 2007 9:46 pm
- Forum: General Discussion
- Topic: Where is my purebasic?
- Replies: 13
- Views: 2671
- Sat Feb 03, 2007 12:07 am
- Forum: Feature Requests and Wishlists
- Topic: C like escape sequenses for strings.
- Replies: 29
- Views: 10516
:? oops :( I should read the code before posting.
But what I want to say is that I cant understand arguments of the anti-backslash lobby. They don't want it because of the windows paths. But they can use the slash. I've seen some jokes with "http:////". We never said that the slash character is the ...
But what I want to say is that I cant understand arguments of the anti-backslash lobby. They don't want it because of the windows paths. But they can use the slash. I've seen some jokes with "http:////". We never said that the slash character is the ...
- Fri Feb 02, 2007 11:40 pm
- Forum: Feature Requests and Wishlists
- Topic: C like escape sequenses for strings.
- Replies: 29
- Views: 10516
- Thu Feb 01, 2007 9:27 pm
- Forum: Feature Requests and Wishlists
- Topic: C like escape sequenses for strings.
- Replies: 29
- Views: 10516
I like verbatim strings as found in C# ....
Ok, the @ is used for getting the address. In PB we just need to find another character.
Code: Select all
string s=@"bla bla bla c:\folder\file.ext
and I can continue on next line
and another line ";