Manual and release notes for upcoming 10.2.0

Started by Lutz, March 01, 2010, 04:45:03 AM

Previous topic - Next topic

Lutz

The manual and release notes for upcoming version 10.2.0 of newLISP have been updated here:



http://www.newlisp.org/downloads/development/latest/">http://www.newlisp.org/downloads/development/latest/



If anybody wants to make corrections (including better wording), there are not many days left before release.

johu

#1
<<, >>



(>> 0x800000000000000 1)

(>> 0x8000000000000000 1)



define



 Expressions in exp-default are evaluated in the function's current environment.



(define-macro (foo (a 10) (b (div a 2)))

(define (foo (a 10) (b (div a 2)))



for



If no step size is specified, 1.0 is assumed.

If no step size is specified, 1 is assumed.





fv



If payment is at the end of the period, int-type is 0 (zero); for payment at the end of each period, int-type is 1. If num-type is omitted, payment at the end of each period is assumed.



If payment is at the end of the period, int-type is 0 (zero); for payment at the end of each period, int-type is 1. If num-type is omitted, payment at the end of the period is assumed.



because
> (fv (div 0.07 12) 1 775.3 -100000 0)
99808.03333
> (fv (div 0.07 12) 1 775.3 -100000 1)
99803.51075
> (fv (div 0.07 12) 1 775.3 -100000)
99808.03333


int



If str is invalid, int returns nil as a default value if not otherwise specified.

If exp is invalid, int returns nil as a default value if not otherwise specified.



maybe.



Sorry, I ended the translation up to I, yet.

xytroxon

#2
The last lines of the newLISP manual function definitions:



======



inc



Use the ++ function for incrementing numbers in integer mode.



----------



dec



Use the inc function to increment numbers.



======



Need to be changed to something like:



======



inc



Use the ++ function for incrementing numbers in integer mode.

Use the dec function to decrement numbers.



----------



dec



Use the -- function for decrementing numbers in integer mode.

Use the inc function to increment numbers.



======



(And if it's not too much trouble ;p)



You added ++ and -- to the +, -, *, /, % table entry

in:



Function Reference



   1. Syntax of symbol variables and numbers

   2. Data types and names in the reference

   3. Functions in groups

          * List processing, flow control, and integer arithmetic



Now the table entry is:



+, ++, -, --, *, /, %   integer arithetic



Besides looking messy ;p)



When deconstructing the single newLISP manual html file into individual html pages, the ++ and -- sections are not reachable by scrolling down from +, ++, -, --, *, /, %.



Could you change the table to:



+, -, *, /, %   integer arithmetic

++   incremet integer number

--   decrement integer number



-- xytroxon
\"Many computers can print only capital letters, so we shall not use lowercase letters.\"

-- Let\'s Talk Lisp (c) 1976

Lutz

#3
Many thanks to Johu and Xytroxon for the corrections. Updated versions of the documents can be found here:



http://www.newlisp.org/downloads/development/latest/">http://www.newlisp.org/downloads/development/latest/

johu

#4
Thank you Lutz.



and,



mat



Using the second syntax, all cells in matrix-A are multiplied with a scalar in number:



Using the second syntax, all cells in matrix-A are operated with a scalar in number:



maybe.



I ended the translation up to M.

johu

#5
Sorry, I have not ended the translation up to N, yet.



net-interface



This function has only usage on multihoned servers

This function has only usage on multihomed servers



An interface address can be defined as either and IP address or a name.

An interface address can be defined as either IP address or a name.



maybe and also,



Socket TCP/IP and UDP network API



net-eval    Sets the default interface IP address on multihoned computers.

net-interface    Sets the default interface IP address on multihomed computers.

Lutz

#6
Thanks for your help,  Johu. Release will be next week, so everything coming in until Monday or Tuesday, will be in the distribution packages. But I always post revisions with corrections for the on-line manual between releases too.

xytroxon

#7
newLISP manual spelling errors:



addtionally -> additionally

arithmetik -> arithmetic

beginnig -> beginning

charcaters -> characters

comforms -> conforms

comminicate -> communicate

directoy -> directory

Erros -> errors

errror -> errors

espressions -> expressions

exspired -> expired

fucntion -> function

imformation -> information

implementarion -> implementation

insteead -> instead

interacive -> interactive

libraryi -> library

specific matric operations  -> specific matrix operations

mssage -> message

nsufficient -> insufficient

occurrance -> occurrence

Ofset -> Offset

othet -> other

previusly -> previously

recognizabe -> recognizable

routinesi -> routines

succesfully -> successfully

in thr sender -> in the sender

Whe the prefix -> When the prefix

woth -> with



-- xytroxon
\"Many computers can print only capital letters, so we shall not use lowercase letters.\"

-- Let\'s Talk Lisp (c) 1976

Lutz

#8
Thanks Xytroxon, updated here:



http://www.newlisp.org/downloads/development/latest/newlisp_manual.html">http://www.newlisp.org/downloads/develo ... anual.html">http://www.newlisp.org/downloads/development/latest/newlisp_manual.html

johu

#9
not



If exp evaluates to nil, then true is returned; otherwise, nil is returned.

If exp evaluates to nil or the empty list (), then true is returned; otherwise, nil is returned.



Next time, I will post in a new topic.

xytroxon

#10
Spelling errors in Code Patterns  10.1.12  02-23-2010



allthough -> although

chracter -> character

controlls -> controls

conventsions -> conventions

distibuted -> distributed

fucntion -> function

libararies -> libraries

mesaging ->messaging

messsages -> messages

mulitple -> multiple

persisten -> persistent

shapters -> chapters

sring -> string

sruct mystruct -> struct mystruct

transfomed -> transformed



-- xytroxon
\"Many computers can print only capital letters, so we shall not use lowercase letters.\"

-- Let\'s Talk Lisp (c) 1976

Lutz

#11
Many thanks again to Johu and Xytroxon for the latest corrections. You can find files in the usual downloads/development/latest/  -location. Please try to post pending corrections until March 16th, 12:00 UTC.

johu

#12
pack



See also the address, get-int, get-long get-char, get-string, and unpack  functions.

See also the address, get-int, get-long, get-char, get-string, and unpack  functions.



parse



If >str-data is specified, there is no limitation on the length of tokens.

If str-break is specified, there is no limitation on the length of tokens.



Instead of { and } (left and right curly brackets), quotes can be used to limit the pattern.

Instead of { and } (left and right curly brackets), double quotes can be used to limit the pattern.





And,

Are the following the same ?

I think that fv's sentence is better.



fv



If payment is at the end of the period, int-type is 0 (zero) or int-type  is omitted; for payment at the beginning of each period, int-type is 1.



nper



If payment is at the end of the period, int-type is 0; else it is 1. If int-type is omitted, 0 is assumed.



pmt



When paying at the end of each period, num-type is 0 (zero); otherwise,it is 1. If omitted, int-type is assumed to be 0 (zero) for payment at the end of a period.

When paying at the end of each period, int-type is 0 (zero); otherwise,it is 1. If omitted, int-type is assumed to be 0 (zero) for payment at the end of a period.



pv

If payment is at the end of each period, 0 (zero) is assumed for int-type; otherwise, 1 is assumed.

m35

#13
search
QuoteIf int-options is mot specified

kukma

#14
Lutz,



can you post the link to the odt file when the documentation becomes stable.

I want to compile it to a CHM file as you suggested.



Here I have CHM files belonging to the previous version 10.1.x ,

namely

    codepatterns  and

    introduction-to-newlisp from Wikibooks

Would you prefer me to update them first?



Also I was working on a compiled help file containing the GTK+ Reference Manual for GTK+ 2.18.9 .

The good thing will be to use the reference as contextsensitive help in editors.



Do you and others like them separately or all in one file?



Regards,

Michael