Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug Reports
I think something is wrong with the default ASCII set:

[Image: fbcharset2lq.png]

I don't know if using a graphics library affected it in any way.
Reply
Must be ignorant... What's the CVS? Hell, what is a CVS? :???:

I do have another question though, since I'm already here. Wink


Will we be able to pass full static arrays as subroutine parameters, or do I need to learn something else that I'm totally clueless about?
Reply
I believe Byref does that.
Code:
Static array(10000) as glFloat

sub rotate(byref array() as glFloat)

glbegin glPOINT
      glVertexf array(0), array(1)
glend
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
Quote:I believe Byref does that.
Code:
Static array(10000) as glFloat

sub rotate(byref array() as glFloat)

glbegin glPOINT
      glVertexf array(0), array(1)
glend


Hmmm... I could've sworn I tried that. I'll try again. Wink


Well, I modified this code a couple of times, and I'm extremely tired right now... but it still doesn't work. Sad

I just want to know if it will be possible to do this later... or if it is possible now, how can I do it.

Thanx! Tongue


Code:
DEFINT A-Z
declare Sub addone(BYREF NewA() as Integer)

type mytypeT
   a(0 to 3) as Integer
end type

STATIC mytype(1 to 100) as mytypeT

for i = 1 to 5
   addone mytype(i).a()
next i


For i = 1 to 5
   For id=0 to 3
      Print MyType(i).a(id)
   Next
Next


sleep

SUB addone(BYREF NewA() as Integer)  
   For id = 0 to 3
      NewA(i)= 1 + Int(rnd*10)
   next
end SUB
Reply
jotz: the ascii set used by gfxlib is the same used by QB: I dumped it from there...
ngelo Mottola - EC++
Reply
Only in the next release:

Quote:[chged] fixed-len strings on arrays can now be passed as parameter to functions (v1c)
[chged] array fields can now be passed by descriptor, as in "array(idx).arrayfield()" (v1c)
Reply
In console mode, the colors number 7 and 8 show up as exactly the same color, light grey. I don't wanna be without dark grey for ascii-gfx games Tongue
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
Reply
I think that's Windows' fault. Its console doesn't have "rich color support" unfortunately.
color=blue]subxero - admin at this place.[/color]
Reply
well, all the other colors from 0->15 works and looks correct (almost), except number 8.
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
Reply
And "rich color" = screen 0 colors Tongue
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)