lotus



previous page: C11.1) Bugs in version 5.0 of the compiler
  
page up: BETA Programming Language FAQ
  
next page: C11.1.2) Computed remotes and virtuals

C11.1.1) Static Constants




Description

This article is from the FAQ, by with numerous contributions by others.

C11.1.1) Static Constants

The following program will make the compiler crash:

   ORIGIN '~beta/basiclib/current/betaenv';
   --- program: descriptor ---
   (# E: @(# exit 1 #) #)

The compiler reports:

   ******* System error!!!
   Constant used as static item
   Please report this error to Mjolner Informatics

and then stops.

This is because constants should be declared without the '@' sign, i.e.:

   ORIGIN '~beta/basiclib/current/betaenv';
   --- program: descriptor ---
   (# E: (# exit 1 #) #)

 

Continue to:















TOP
previous page: C11.1) Bugs in version 5.0 of the compiler
  
page up: BETA Programming Language FAQ
  
next page: C11.1.2) Computed remotes and virtuals