2023-03-18 09:54 AM - last edited on 2023-03-23 01:50 AM by Laszlo Nagy
Couldn't find "10:" in gosub 10 in cavityclosure. What is it?
if bCompositeWall then for i=1 to WALL_SKINS_NUMBER idx = i: gosub 10 ! Get proper index cumRefThk = cumRefThk + WALL_SKINS_PARAMS[idx][SKIN_THICKNESS] skinCummThkRef[idx] = cumRefThk idx = WALL_SKINS_NUMBER + 1 - idx ! reorder cumOppThk = cumOppThk + WALL_SKINS_PARAMS[idx][SKIN_THICKNESS] skinCummThkOpp[idx] = cumOppThk next i endif
2023-03-18 10:05 AM
If you mean you personally can't find it then, somewhere in the script will be a sub-routine labelled 10.
It will usually be after the END command in the script.
It will be something like...
So search for 10: and you should find it.
But I am sure you would know that as you have be playing around with GDL for a while now.
However, if that is an error message you are getting, then that is because the 10 subroutine is not there at all, and the script can't find it when it is run.
2023-03-18 01:13 PM - edited 2023-03-18 01:14 PM
If you search with ctrl+f you will find 10 too many.
So, if you search for 10:, only 4910: will be searched.
If you search for 10 :, 10 : , 10 :, it doesn't come out.
2023-03-19 08:43 AM
If you have searched and it is not there, then it is simply not there.
That would be why you are getting an error message to say it is not there.
Probably bad coding in the object.
2023-03-22 11:21 AM
It is in the master script 🙂
GDL can jump to the master script. Technically it's possible the other way too, but then you need a subroutine in each script and check script will still give a warning for the master script.
2023-03-22 01:41 PM
thank you so much. ^^