Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fb .12 does not accept explicit "BYREF" kewords fo
#1
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.
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#2
I've done that before, and FB let it compile OK. That's odd; must've been the version I was using.
color=blue]subxero - admin at this place.[/color]
Reply
#3
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..
Reply
#4
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.
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#5
-r will preserve the asm files, -c will not erase them only if an error occurred.
Reply
#6
thanksies!!
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)