[progress Communities] [progress Openedge Abl] Forum Post: Re: How To Import/include...

  • Thread starter Thread starter smartsysISV
  • Start date Start date
Status
Not open for further replies.
S

smartsysISV

Guest
Yes but my hosted file looks like this: " package com.xxxautomation; import java.util.*; import javax.swing.*; public class LinearX123Encoder { static boolean isDemo = false; protected boolean isDigit(char n) { if ((char)n >=48 && (char)n <=57) return true; else return false; } ........ " I would like to use this class in an objectscript like this. try { LinearX123Encoder xEncoder = new LinearX123Encoder(); var encodedstring=xEncoder.Codex(""); rbv_api.println("encodedstring"); } But where and how can i include the external file or reference it? Can I use a path/reference to the hosted file in this line: "LinearX123Encoder xEncoder = new LinearX123Encoder();" Can you give me an example?

Continue reading...
 
Status
Not open for further replies.
Back
Top