Discussions related to Visual Prolog
mdosnov2016
VIP Member
Posts: 73 Joined: 19 Nov 2016 7:58
Unread post
by mdosnov2016 » 9 Oct 2017 17:29
can anybody tell me how to make concat work,
since it doesn't recognise class string?
Code: Select all
State_name = string:: concat ( "state_" , State_num_str ) ,
...
the same problem (the classes are not visible) with file5x and platformSupport5x.
any useful #include for example?...
many thanks in advance,
Dr Michael Dossis
PrologUser
Thomas Linder Puls
VIP Member
Posts: 1401 Joined: 28 Feb 2000 0:01
Unread post
by Thomas Linder Puls » 9 Oct 2017 21:18
In a "normal" project necessary include statements will normally be inserted automatically.
But if your project is for example a migrated vip5 project (which I happen to know it is), then the IDE may not know where to insert the statement (due to a bad/unusual project structure).
The necessary include statement looks like this:
I will suggest to create a little test project to see how a normal project is structured into with pack, ph, i, cl and pro files.
Regards Thomas Linder Puls
PDC
mdosnov2016
VIP Member
Posts: 73 Joined: 19 Nov 2016 7:58
Unread post
by mdosnov2016 » 9 Oct 2017 21:41
Thank you Thomas,
and what include for file5x and platformSupport5x ?
Michael
PrologUser