Results 1 to 2 of 2

Thread: Bold words in simba

  1. #1
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default Bold words in simba

    Here are a list of all the bold words I know of in Simba:

    Simba Code:
    file
    in
    var
    set
    of
    class
    record
    end
    out
    const
    begin
    array
    function
    procedure
    string
    and
    not
    nil
    property
    constructor
    then
    if
    try
    finally
    except
    with
    do
    else
    or
    forward
    record
    type
    case
    for
    Dispid
    goto
    while
    xor
    uses
    unit
    inline
    repeat
    dynamic
    until
    Stored
    Library
    private
    as
    label
    overload
    Inherited
    Readonly
    Published
    Override
    Nodefault
    Export
    Register
    Automated
    mod
    div
    Virtual
    Protected
    Exports
    Implements
    far
    cdecl
    read
    Dispinterface
    pascal
    write
    Reintroduce
    Finalization
    packed
    near
    Writeonly
    Destructor
    raise
    Stringresource
    shl
    shr
    Resourcestring
    object
    Initialization

    But I have only ever used the following:
    Simba Code:
    file,var,of,record,end,const,begin,array,function,procedure,string,and,not,nil,then
    if,try,finally,except,with,do,else,or,type,case,for,goto,while,repeat,until,label

    How do you use the others?

  2. #2
    Join Date
    Feb 2006
    Location
    Helsinki, Finland
    Posts
    1,395
    Mentioned
    30 Post(s)
    Quoted
    107 Post(s)

    Default

    Even though there is a lot of those bold words, not of all them are supported in Simba/SCAR, but I am sure you were aware of this..

    Anyways, here is some tutorials for shl/shr/xor:
    Bitwise operations by @Yakman
    Bitwise Operations by @caused
    In-depth Bitwise Operators. by @R0b0t1
    Bitwise Operations and Practical Uses by @Alpha Kue

    Bold words "set" and "in" can be used with set types:
    Types, Arrays, and Classes by @Dan Cardin
    A list of common Types in SCAR - Plus making your own!! by @Naum

    ..and here is a small example at using forward, because with quick search I couldn't find any tutorials that covers it:

    Code:
    procedure B; forward; // We need this for procedure A, it wont be able to run procedure B without forwarding.
    
    procedure A;
    begin
      ClearDebug;
      WriteLn('We are at procedure A!');
      B; // The "procedure B; forward;" will be needed for this action!
    end;
    
    function C(x: Integer): string; forward; // We need this for procedure B, it wont be able to run function C without forwarding. 
    
    procedure B;
    begin
      WriteLn('We are at procedure!');
      WriteLn('"' + C(100) + '"');
    end;
    
    function C(x: Integer): string; // Example to use forward with parameters.. :)
    begin
      WriteLn('We are at function C!');
      Result := IntToStr(x);
    end;
    
    begin
      A; // Let the show begin!
    end.
    Also, some discussion from past - SCAR bolded words
    Including some lists of bolded words!
    Last edited by Janilabo; 06-19-2013 at 01:45 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •