View previous topic :: View next topic |
Author |
Message |
KennyT
Joined: 02 Aug 2005 Posts: 318
|
Posted: Mon Oct 16, 2017 9:11 am Post subject: porting 32bit to 64bit slink scripts |
|
|
hi,
i'm in the middle of trying to port to 64 bit and find that certain commands in my .SLK scripts aren't supported in the new .LNK ones, specifically:
debug
insert
the first one may not be important but the lack of the second one is going to cause me some issues with trying to maintain compatibility between the two platforms.
Are the any plans to add an "insert" command or is there an easy workaround/alternative?
K |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Mon Oct 16, 2017 10:33 am Post subject: |
|
|
Kenny
"Insert" appears to be an undocumented SLINK command. You may be the only user that knows about it. All that I can do is to add it to the wish list for SLINK64.
I can't think of an easy workaround other than the obvious "find and replace" in a text editor. |
|
Back to top |
|
 |
StamK
Joined: 12 Oct 2016 Posts: 167
|
Posted: Thu Jul 25, 2019 2:21 pm Post subject: |
|
|
Wanted to update that now the "insert" command in slk files does work in 64bit, BUT only if there are no empty lines.
Somehow if it finds an empty line it thinks that it is the end of file.
so if you load an slk file as below via an insert command:
lo file1.obj
lo file2.obj
it will only load file1.obj in 64bit (fine in 32bit). |
|
Back to top |
|
 |
StamK
Joined: 12 Oct 2016 Posts: 167
|
Posted: Thu Jul 25, 2019 2:24 pm Post subject: |
|
|
Also forgot to mention that in 64bit only one level of nesting is allowed, so if you use "insert" to call an slk file which has another "insert" command, it will fail (fine in 32bit).The error is
***Only one level of 'insert' permitted |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Thu Jul 25, 2019 2:43 pm Post subject: |
|
|
Thanks for the information. I hope that you can find a way around these limitations. |
|
Back to top |
|
 |
StamK
Joined: 12 Oct 2016 Posts: 167
|
Posted: Thu Jul 25, 2019 2:54 pm Post subject: |
|
|
It's called Copy and Paste, and Delete. But obviously a minor (but annoying) bug in the grand scheme of things. Thanks |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Thu Jul 25, 2019 3:32 pm Post subject: |
|
|
Sorry if it is annoying. SLINK "insert" is an undocumented feature that I did not know about and may have been provided specifically for your company.
SLINK64 is a completely new product so any missing features may be annoying but they are not bugs.
I hope that the basic SLINK64 "insert" command that I have added for you is a step in the right direction. |
|
Back to top |
|
 |
|