Jump to content
OldCoder

rs_GetUpTxt & rs_GetCustomSizeUpText

Recommended Posts

Can anyone help please?

 

Why don't these work for me?

 

I'm using SCAR Divi 3.25.06 and when it didn't work I downloaded the latest SRL.

 

When I couldn't seem to get it to work in my main script I have written a very simple program to test it:

--------------------------------

program New;

{.include srl/srl.scar}

var

gettxt: string ;

 

begin

gettxt:='dummy'

gettxt:= rs_GetCustomSizeUpText ;

writeln('Text after=' + gettxt)

end.

----------------------------------

 

but all this returns is the following:

 

----------------------------------

Successfully compiled (1903 ms)

Text after=

Successfully executed (32 ms)

---------------------------------

 

Loads of other functions work fine ... after Freddy pointed out that I had to configure RS so that it didn't use hardware acceleration, but this just doesn't seem to be working.

 

Ideas anyone?

Link to comment
Share on other sites

You need to install the appropriate fonts and call SetupSRL. Also, don't call rsGetUpText directly if you use SRL, use the SRL funciton to get the uptext, it is preconfigured. This issue is not a bug, moved. Please only post in the development bug section if you are certain the issue is a bug.

Link to comment
Share on other sites

I'm still struggling.

 

Downloaded fonts & SRL Open Dev (used the "include manager" and that now shows RS2Fonts and SRL Open DEV as installed and updated - also Phoenix although I don't know if this is needed.)

 

Code is now :

------------------------------

program New;

{.include srl/srl.scar}

var

gettxt: string ;

 

begin

ClearDebug;

SetupSRL;

gettxt:='dummy' ;

gettxt:= GetUpText ;

writeln('gettxt =' + gettxt)

end.

-----------------------------

 

Looked at the video, but that thread seems to be about the setup of 3.2.5 alpha - or am I missing the point?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...