I am currently working on something in FLEX using LPA Win-Prolog.
I need to generate some random numbers,开发者_Python百科 which is not possible using FLEX. According to one source I read, it's possible to create a prolog file inside the same project and use it the generate the random number and access it from the FLEX file. Apparently Ch.7 in this document is supposed to illustrate how to do this but I still can't figure it out.
If anyone has any experience using Flex and prolog I'd really appreciate some help.
Let me know if you need any more information.
You can literally write LPA-prolog within a flex file. For example:
action run;
do flash('Im flex') and
write('Well, im prolog!')
.
精彩评论