Today 12:07
Forum: The Lounge
Starter: yvesmazzon
Views: 0
Replies: 12
Today 10:21
Forum: Proton 24
Starter: charliecoultas
Views: 0
Replies: 9
Go to last post By: J. Mark Wolf
Today 01:01
Forum: Proton Plus Compiler v3
Starter: SELCUK
Views: 0
Replies: 1
Yesterday 21:34
Forum: Proton Plus Compiler v3
Starter: H-bert
Views: 2350
Replies: 51
+ Reply to Thread
Results 1 to 3 of 3

Thread: differance and usage35 days old

  1. #1
    Member SELCUK's Avatar
    Join Date
    Sep 2006
    Posts
    178
    Thumbs Up
    Received: 1
    Given: 0
    Total Downloaded
    340.86 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,910
    Thumbs Up
    Received: 78
    Given: 25
    Total Downloaded
    1.37 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
    583
    Thumbs Up
    Received: 77
    Given: 2
    Total Downloaded
    1.93 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 : 33

Actions :  (Set 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