Discussions related to Visual Prolog
vbfgm
Posts: 1
Joined: 22 Mar 2017 14:49

about chinese Predicate

Unread post by vbfgm »

Why not use Chinese Predicate, I hope to come out as soon as possible to solve the new version of the Chinese Predicate problem[/b]
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

I am not sure what you mean, do you mean the ability to use Chinese in predicate names and variable names, etc?

My knowledge of Chinese is very limited, but a problem may be that you don't have anything that corresponds to uppercase and lowercase, which are important concepts in Visual Prolog.

However if you for example prefix predicate names with a lowercase 'p' and variables with an uppercase 'V' then it will work. The code in the image can compile and run.
Attachments
Chinese program
Chinese program
chinese-program.png (12.17 KiB) Viewed 3669 times
Regards Thomas Linder Puls
PDC
Post Reply