Search found 354 matches

by arenth
Nov 29, 2005 21:57
Forum: Beginners
Topic: some function help
Replies: 11
Views: 2331

not call it and might confuse the compiler It would not effect the compiler in the least if it was in the middle of the code and not called, the compiler does not care after all as long as the syntax is correct, which it is. However what I think you mean is that it would have unpredictable results ...
by arenth
Nov 29, 2005 21:52
Forum: General
Topic: ByRef VS as <something> PTR
Replies: 13
Views: 2678

ByRef VS as <something> PTR

Well this refers to how arguements are passed to functions. Mostly I was wondering why byref was maintained when "as <something> PTR" achieves the same effect. It could possibley be for simplicities sake, but I think it would be more confusing that there are in effect to ways to pass an ar...
by arenth
Nov 27, 2005 20:01
Forum: General
Topic: Dir Bug?
Replies: 4
Views: 1335

Dir Bug?

Dir "*",16 will return not only directories, but also any files without any attributes set on windows.

Also I was thinking perhaps there should be a forum section for bug reporting.
by arenth
Nov 27, 2005 19:40
Forum: General
Topic: Redirecting text from console to file?
Replies: 2
Views: 1019

Hey thanks for the reply, I was sort of hoping to do it without the redirection operator, but I guess whatever works.
by arenth
Nov 27, 2005 19:09
Forum: General
Topic: Redirecting text from console to file?
Replies: 2
Views: 1019

Redirecting text from console to file?

Is there anyway to redirect output from the console to a file, IE in SDL for C everything is printed to STDOUT.txt / STDERR.txt How would I do the same in FreeB.
by arenth
Nov 27, 2005 16:42
Forum: General
Topic: CHDir doesnt work?
Replies: 6
Views: 1693

Thanks.
by arenth
Nov 27, 2005 14:29
Forum: General
Topic: CHDir doesnt work?
Replies: 6
Views: 1693

Ok so how do I change the current drive, also then, the fbwiki is somewhat misleading in its example since that is where I first saw this used as supposed way to change drives.
by arenth
Nov 27, 2005 12:07
Forum: General
Topic: CHDir doesnt work?
Replies: 6
Views: 1693

CHDir doesnt work?

Code: Select all

CHDIR$ "D:\"
PRINT curdir$

Thats my code, and this is its output.
E:\FreeBasic\FreeBASIC
Am I missing something, or is FB just ignoring me?

Running FB 0.14 on windows98.
by arenth
Nov 07, 2005 0:27
Forum: General
Topic: iif annoyance
Replies: 2
Views: 1285

Actually I think its better that the compiler complains, the compiler defaults non explicit types to int, thats why the 0 is interpreted as an int, if you want something else, be explicit. C/C++ will generally give you the same warnings.