Qbasicnews.com

Full Version: Fb .12 does not accept explicit "BYREF" kewords fo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Say i have

Code:
sub foo( byref array())
end sub

Won't work unless I remove the Byref keyword, It's not much but I like to see Byref to arrays passed by reference for aesthetic purposes. Having explicity written Byref before the array() would make it really understandable.
I've done that before, and FB let it compile OK. That's odd; must've been the version I was using.
I was allowing BYREF with arguments passed by descriptor, but the ()'s are like if you had used a BYDESC to declare the argument mode, so BYVAL/BYREF doesn't mix with ()'s..
Ok. Now what is the switch to generate just the ASM listing and not the OBJ. I usually use the ASM listing to debug my proggies but ver .12 somehow directly outputs OBJ files instead of ASM files when I do a compile only switch.
-r will preserve the asm files, -c will not erase them only if an error occurred.
thanksies!!