Yesterday 17:07
Forum: Proton Plus Compiler v3
Starter: rcurl
Views: 0
Replies: 16
Yesterday 16:52
Forum: Website / Forum Issues
Starter: pe1pme
Views: 0
Replies: 65
Yesterday 15:08
Forum: The Lounge
Starter: basparky
Views: 0
Replies: 5
Yesterday 14:47
Forum: Website / Forum Issues
Starter: fanie
Views: 0
Replies: 5
Yesterday 13:31
Forum: The Lounge
Starter: Henk57
Views: 0
Replies: 114
Yesterday 12:47
Forum: The Lounge
Starter: craig
Views: 0
Replies: 2
+ Reply to Thread
Results 1 to 3 of 3

Thread: differance and usage330 days old

  1. #1
    Member SELCUK's Avatar
    Join Date
    Sep 2006
    Posts
    173
    Thumbs Up
    Received: 1
    Given: 0
    Total Downloaded
    365.10 MB

    1 Not allowed!

    Default differance and usage

    Hello,

    What is the differance and usage for :

    DIM myVar as BYTE ;// WORD, DWORD, FLOAT etc..

    or

    DIM myVar as BYTE SYSTEM ;// WORD, DWORD, FLOAT etc...

    When we must use SYSTEM definitions?

    Best Regards,

    Selcuk
    [url]www.sfy.com.tr[/url]

  2. #2
    Administrator John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,500
    Thumbs Up
    Received: 99
    Given: 29
    Total Downloaded
    2.25 GB

    0 Not allowed!

    Default Re: differance and usage

    Hello Selcuk
    Alberto uses these and you will find some of his examples in the WIKI -see his boot loader project.
    As I understand it the system variable space is used by the compiler and defining a variable in that space avoids bank swiitching and so is faster. Normally we wouldn't put our variables there. If Alberto or Les don't reply look at the description in Albertos examples.
    John

  3. #3
    Senior Member AlbertoFS's Avatar
    Join Date
    Apr 2005
    Posts
    626
    Thumbs Up
    Received: 113
    Given: 2
    Total Downloaded
    3.09 GB

    0 Not allowed!

    Default Re: differance and usage

    I use the system variables only for the libraries which allows faster access to them.
    See these threads.
    http://www.protonbasic.co.uk/showthr...stem-Variables post 5
    http://www.protonbasic.co.uk/showthr...stem-variables
    Regards
    [U]73's de Alberto ea3agv[/U]

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. ESTR usage
    By J. Mark Wolf in forum Proton Plus Compiler v3
    Replies: 0
    Last Post: 17th September 2017, 13:48
  2. VarPTR usage
    By ElektroArt in forum Proton Plus Compiler v3
    Replies: 1
    Last Post: 1st June 2012, 13:12
  3. Seral DAC Usage
    By sreaves in forum Proton Plus Compiler v3
    Replies: 0
    Last Post: 23rd February 2010, 01:46
  4. Macro usage
    By alex_p in forum Proton Plus Compiler v3
    Replies: 14
    Last Post: 9th February 2005, 08:27
  5. CPU Usage
    By Mark Rodgers in forum Labcenter Proteus VSM
    Replies: 2
    Last Post: 15th December 2004, 02:31

Members who have read this thread since 16th August 2018, 05:37 : 0

Actions :  (Set Date)  (Clear Date)

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

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