[futurebasic] Re: [FB] How to declare (dim) and init an array at once

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2001 : Group Archive : Group : All Groups

From: Osamu Shigematsu <shige@...>
Date: Mon, 29 Oct 2001 18:57:01 +0900
on 01.10.29 6:40 PM, jonathan at jonnnathan@... wrote:

> i must say that this is one thing in the 'c' style [javascript,php] that i
> do find useful.
> 
> can live without though.

Is not same as php's array() function, or :

    $myArray = array(1,2,3,4,5,6,7,8);

and C-style array initialization. In C, it's not function, but a syntax.

Moreover, FB users should be consider array as std::vector, though, php's
array is same as std::set in STL.

# I do think FB needs various kind of container,
# but, I do think it should not be impremented as BASIC syntax.
# Because FB^3 is already too complicated.

-- 
Osamu Shigematsu

http://www.ravi.ne.jp/%7eshige/
mailto:shige@...