NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: MikeR on November 13, 2018, 02:19:05 PM
-
How to I set the value of a stringtheory object to the current contents of a file buffer
eg. st1.setvalue(fil:record) give a compiler error "ambiguous procedure call - rule 5"
-
The ambiguity is because a record is a group not a string.
Here are some possible ways to let the compiler know better;
This is probably the best;
st1.setvalue(fil:record,false)
if that still fails try;
st1.assign(fil:record)
Cheers
Bruce
-
Thx Bruce
setvalue(fil:record,false) fails rule 6
assign(file:record) fails rule 5
-
try
str.setvalue(clip(fil:record))