Yesterday 19:49
Forum: The Lounge
Starter: charliecoultas
Views: 0
Replies: 2
Go to last post By: joesaliba
Yesterday 16:50
Forum: Proton Plus Compiler v3
Starter: towlerg
Views: 0
Replies: 1
Yesterday 16:00
Forum: The Lounge
Starter: Tim
Views: 0
Replies: 18
+ Reply to Thread
Results 1 to 3 of 3

Thread: differance and usage122 days old

  1. #1
    Member SELCUK's Avatar
    Join Date
    Sep 2006
    Posts
    185
    Thumbs Up
    Received: 1
    Given: 0
    Total Downloaded
    346.58 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,913
    Thumbs Up
    Received: 83
    Given: 27
    Total Downloaded
    1.38 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
    593
    Thumbs Up
    Received: 81
    Given: 2
    Total Downloaded
    1.94 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, 02:46
  4. Macro usage
    By alex_p in forum Proton Plus Compiler v3
    Replies: 14
    Last Post: 9th February 2005, 09:27
  5. CPU Usage
    By Mark Rodgers in forum Labcenter Proteus VSM
    Replies: 2
    Last Post: 15th December 2004, 03:31

Members who have read this thread since 12th January 2018, 23:45 : 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