[Gambas-user] Release of gambas2 1.9.11
vbmax bsdpowa
bsdpowa at ...43...
Wed Jul 6 21:06:15 CEST 2005
Unfortunatly not.
I have Fedora Core 4 with GCC 4.0.0.I was even able to
successfuly do "make" but it stopped at "make install"
at the gb.sdl.sound-list not found in
/user/share/gambas/sound-sharelist or something.
--- Thomas Hawkins <cornmaster at ...626...> wrote:
> Sounds good. :)
>
> By any chance is the installer working in Fedora
> Core 4 (GCC4) without all
> the workarounds? I still have not got Gambas working
> yet....and I'm dying to
> give it a try. :)
>
> Thanks
>
> On 7/6/05, Benoit Minisini
> <gambas at ...1...> wrote:
> >
> > Hi,
> >
> > Here is a big important release of the development
> version.
> >
> > Many new syntaxes and features were added to the
> compiler and the
> > interpreter,
> > the bytecode has changes, and so ALL PROJECTS MUST
> BE *ENTIRELY*
> > RECOMPILED!
> >
> > I apologize for the inconvenience, but I think
> it's worth it :-)
> >
> > Here are the changes, with some explanations when
> needed:
> >
> > * You can instanciate objects at variable
> declaration with any expression
> > now.
> >
> > Now you can type things like:
> >
> > DIM Matrix AS NEW Float[3, 3]
> > PUBLIC MyObject AS NEW MyObject(GetParam(),
> Len(TheName))
> > ...
> >
> > * Functions can take a variable number of
> arguments now.
> >
> > Just use three points at the end of the argument
> list:
> >
> > SUB MyPrintf(sFormat AS String, ...)
> > ...
> > END
> >
> > Use the Param class to access additional arguments
> (see below).
> >
> > * You can use the '_unknown' special method now.
> >
> > Declare it this way:
> >
> > PUBLIC FUNCTION _unknown(...) AS Variant
> > ...
> > END
> >
> > Use the Param class to get the name of the called
> method.
> >
> > *A new syntax 'IF ... AND IF ...'. The second test
> is not done if the
> > first is
> > false.
> >
> > You can type now:
> >
> > IF Test1 AND IF Test2 THEN ...
> >
> > The Test2 is never evaluated if Test1 is FALSE,
> contrary to 'IF Test1 AND
> > Test2'
> >
> > You can use more than two AND IF of course.
> >
> > * A new syntax 'IF ... OR IF ...'. The second test
> is not done if the
> > first is
> > true.
> >
> > The same syntax than previously, but with OR.
> >
> > * A new syntax 'CASE ... TO ...', to test the
> match to an interval of
> > values.
> >
> > You can type now:
> >
> > SELECT Value
> > CASE 1 TO 10
> > PRINT "1 TO 10"
> > CASE 11 TO 20, 25
> > PRINT "11 TO 20 or 25"
> > END SELECT
> >
> > * New C-style assignment operators: +=, -=, *=,
> /=, \=, &=, &/=.
> >
> > Now you can type:
> >
> > i += 1 instead of i = i + 1
> > And so on...
> >
> > * The DIRECT keyword has been removed. Now use
> 'OPEN ... FOR INPUT |
> > OUTPUT'
> > to open a file in buffered mode and 'OPEN ... FOR
> READ | WRITE' to open a
> > file in direct mode.
> >
> > * The BIG and LITTLE keywords have been removed.
> Now use the new ByteOrder
> > property of the Strem class.
> >
> > * A new syntax for EXEC or SHELL: 'EXEC|SHELL ...
> TO aString' executes the
> > command, waits for its termination, and returns
> the process output to the
> > specified string. The syntax defined in 1.9.10 has
> been removed.
> >
> > * WAIT is not implicite anymore in the EXEC or
> SHELL command.
> >
> > * Now ambiguous expressions are detected, and
> raise an error.
> >
> > * A new operator '==', to compare strings by
> ignoring their case.
> > Interpreter
> >
> > PRINT "Gambas" == "gambas" returns TRUE
> >
> > * System.Home was definitely replaced by
> User.Home.
> >
> > * System.User was definitely replaced by User.Name
> <http://User.Name>.
> >
> > * The class ".Stream" has been renamed as
> "Stream".
> >
> > Be careful component developers! :-)
> >
> > * A new class, Param, to get extra arguments, and
> information about a call
> > to
> > the _unknown method.
> >
> > Param.Count returns the number of extra arguments.
> > Param[i] returns the i-th argument as a variant.
> > Param.Unknown returns the name of the unknown
> method.
> >
> > * A new property, Stream.ByteOrder, to set the
> byte order of a stream.
> >
> > Now, instead of using BIG or LITTLE with OPEN, you
> must write:
> >
> > hStream.ByteOrder = gb.LittleEndian /
> gb.BigEndian.
> >
> > Note that you can do that for any type of stream!
> >
> > * A new property, User.Id <http://User.Id>,
> returns the user id of the
> > current process.
> >
> > * Application.Args is now enumerable.
> >
> > Now you can type:
> >
> > FOR EACH sArg in Application.Args
> > ...
> > NEXT
> >
> > * Formatting currency is possible now, by
> specifying gb.Currency (or
> > gb.International to use the international currency
> symbol) as second
> > argument
> > of Format$().
> >
> > In France:
> >
> > PRINT Format$(10000.50, gb.Currency)
> > 10 000,50 �
> >
> > PRINT Format$(10000.50, gb.International)
> > 10 000,50 FRF
> >
> > In US: (tell me if I am wrong)
> >
> > PRINT Format$(10000.50, gb.Currency)
>
=== message truncated ===
____________________________________________________
Sell on Yahoo! Auctions no fees. Bid on great items.
http://auctions.yahoo.com/
More information about the User
mailing list