Search found 5 matches
- Mon Aug 01, 2022 9:21 am
- Forum: BASIC code examples
- Topic: library example v3d oop
- Replies: 3
- Views: 4398
Re: library example v3d oop
thanks for help error : i see no sphere gosub [v3d] global s.x,s.y,s.z,s.d,s.r,s.g,s.b,infinity,stel s.x=0:s.y=1:s.z=2 s.d=3:s.d2=4 s.r=5:s.g=6:s.b=7 infinity=1e9 stel=0 dim s(100,7) WindowWidth = DisplayWidth WindowHeight = DisplayHeight global scrnw,srcnh scrnw=WindowWidth scrnh=WindowHeight nomai...
- Sun Jul 31, 2022 1:38 pm
- Forum: BASIC code examples
- Topic: library example v3d oop
- Replies: 3
- Views: 4398
Re: library example v3d oop
i get a function not exsist error why ? gosub [v3d] global s.x,s.y,s.z,s.d,s.r,s.g,s.b,infinity,stel s.x=0:s.y=1:s.z=2 s.d=3:s.d2=4 s.r=5:s.g=6:s.b=7 infinity=1e9 stel=0 dim s(100,7) WindowWidth = DisplayWidth WindowHeight = DisplayHeight global scrnw,srcnh scrnw=WindowWidth scrnh=WindowHeight open ...
- Sun Jul 31, 2022 11:47 am
- Forum: BASIC code examples
- Topic: library example v3d oop
- Replies: 3
- Views: 4398
library example v3d oop
''bluatigro 31 jun 2022 ''test lirary v3d gosub [v3d] call v3d 1,2,3 call v3d.uit x,y,z print "v3d 1 =",x,y,z call v3d 4,5,7 call v3d.uit a,b,c print "v3d 2 =",a,b,c call v3d.add x,y,z , a,b,c call v3d.uit e,f,g print "v3d 2+1 =",e,f,g call v3d.sub x,y,z , a,b,c call v...
- Thu Oct 24, 2019 1:04 pm
- Forum: General Board
- Topic: 3.10 OOP try
- Replies: 1
- Views: 8839
3.10 OOP try
i was trying some stuf in OOP how do i do this good new a as class 1 , 2 , 3 new b as class 4 , 5 , 6 ''new c as class::add b::x , b::y , b::z print c end class v3d dim x , y , z sub class call v3d::class 0 , 0 , 0 end sub sub class a , b , c x = a y = b z = c end sub function add( a , b , c ) x = x...
- Sat Apr 14, 2018 7:08 am
- Forum: Suggestion Box
- Topic: c++ and python stuf
- Replies: 1
- Views: 11374
c++ and python stuf
idea's from c++ #include ''working as in c++ #ifndef _module_h #define _module_h ''so that this code is included only once #endif #replace a<b<c ((a)<(b)and((b)<(c)) ''í use sub's and function's for this . ''but it may be useful for other's #macro somemacro() #endmacro idea's from python ''list's l#...