Thank you Dan and Keisuke! Helpful!!
> On Feb 22, 2018, at 9:25 AM, Dan Gallagher via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> Kirk,
>
> We use process tags to generate an xml document that is packaged in a .docx
> file. It is time consuming creating the document templates, but it works
>
number literals are always typed real, regardless of decimals.
http://doc.4d.com/4Dv15/4D/15.5/Constants.300-3577854.en.html
you could code hexadecimals to enforce integer
0x01
but that's kind of nerdy...
predefined constants are also pre-typed.
http://doc.4d.com/4Dv15/4D/15.5/Optimization-Hi
I don't recall ever having this issue. I have a method set to execute on
server. It takes a series of pointers and looks like this:
$errMsg:=EOS_method (\
->$obj;\
->aMY_name;\
->aMY_ref;\
->aMy_recID;\
->aMY_info;\
->aMY_address;\
->aMY_amount;\
->aMY_billed;\
->aMY_invoiced)
If I turn off the
As an aside I would use a local variable so command would look like this
c_real($MyNumber_R)
$MyNumber_R:=500.0
$real:=2*(MAXLONG-$MyNumber_R)
I do this so that 4D does not reset results based upon what it thinks it should
do
I think it will work even without the .0
Regards
Chuck
-
Thanks!
> I think that using the MAXLONG constant is causing the value to be
> treated as a longint.
> $Real := 2 * (MAXLONG - 500)
>
> If you replace the MAXLONG constant with a value you get the correct result:
> $Real := 2 * (2147483647 - 500)
>
> Interestingly, you can keep using t
I think that using the MAXLONG constant is causing the value to be treated as a
longint.
$Real := 2 * (MAXLONG - 500)
If you replace the MAXLONG constant with a value you get the correct result:
$Real := 2 * (2147483647 - 500)
Interestingly, you can keep using the MAXLONG constant if you
yes $real is declared as Real.
That is the first thing I checked :)
> Do you have a C_REAL($Real) line in your code? The compiler might be
> typing that variable as a longint.
>
> Dani
>
>> On Feb 22, 2018, at 10:14 AM, Chip Scheide via 4D_Tech
>> <4d_tech@lists.4d.com> wrote:
>>
>> I have
Do you have a C_REAL($Real) line in your code? The compiler might be typing
that variable as a longint.
Dani
> On Feb 22, 2018, at 10:14 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> I have code that converts a value from REAL to Hex.
> as part of my test routines, maximum v
Kirk,
We use process tags to generate an xml document that is packaged in a .docx
file. It is time consuming creating the document templates, but it works
very well.
Dan
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
***
I have code that converts a value from REAL to Hex.
as part of my test routines, maximum value convertible is Maxlong (php routine)
I set the value to convert to (to test out of range error):
$Real := 2 * (MAXLONG - 500)
$Real := 2 * (2147483647 - 500)
$Real := 2 * (2142483647)
$Real := 42
Hi all,
Is anyone oyt there using cyberark to get opasswords for email or users via
4D
I am looking for example LEP scripts. The documentation supplied is 100s of
pages and I would rather not charge my client to review and creat LEP
commands
Regards
Chuck
--
--
you might want look into libreoffice and a python tool called uniconv
apart from microsoft office itself, I think they deliver the best rendering.
**
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archi
Hi All,
Our System: 4D v15 Client/Server - all Windows OS...
Printing to a PDF document has been around for a while. We now need to print
to a MS Word document… Do any of you have a proven method for doing this from
4D?
Thanks!!
Kirk
***
13 matches
Mail list logo