 |
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
m.burkhardt
Joined: 02 Sep 2008 Posts: 26
|
Posted: Tue Jan 18, 2011 10:41 am Post subject: Statement over two lines |
|
|
Hello, how can I allocate a Variable with values that are over two lines. Like this:
INTEGER*2 HPELE(19)
!
DATA HPELE /0,0,0,0,0,0,0,0,0,0,
* 0,0,0,0,0,0,0,0,0/
In the past I could do this, if I put a character in col 7 (*).
But under FTN95 I don't know how to do!
Greetings from Germany!
Michael |
|
Back to top |
|
 |
JohnCampbell
Joined: 16 Feb 2006 Posts: 2615 Location: Sydney
|
Posted: Tue Jan 18, 2011 11:44 am Post subject: |
|
|
It looks if you have free format syntax so there are 2 options:
make it 1 line or use the free format continuation, ie
DATA HPELE /0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0/ ! 1 line option up to 132 characters
DATA HPELE /0,0,0,0,0,0,0,0,0,0, & ! & is a continuation character
& 0,0,0,0,0,0,0,0,0/ ! & can be first character on next line |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|