), and while many programs were tiny, there were often a few that were in the 5-10 MB range (MS Office used to be about 20-30 MB for the whole suite!).
Now, the average is a lot higher (entry level machine is about 2-4 GB, and power users are 8-16 GB, power users with a bit of money 16 GB+), with a few exceptions such as scripts, the memory could really be used a lot more than it is today.
However, until the entry level machines are in the 16-32 GB Range (give it a few years!) I don't think we are going to have many advances.
%temp% is here to stay for a long while yet!

 Q:

Using "if else" inside a function gives unexpected keyword_end error

I have defined a function which looks like this:
def putValAndmyBool val mybool
    if mybool
        puts val + "true"
    else
        puts val + "false"
    end
end

It gives the following error: 

SyntaxError: (irb):101: syntax error, unexpected tIDENTIFIER, expecting ';' or '(irb):107: syntax error, unexpected keyword_end, expecting end-of-input
          from K:/Ruby22-x64/bin/irb:11:in `'

But when I defined following function, it runs successfully. The reason I tried doing this is I thought something in line puts val + "true" is causing the issue.
def addbool val
    puts val + "true"
end

A:

This line is incorrect
def putValAndmyBool val mybool

I suppose should be
def putValAndmyBool val, mybool

 Q:

Copy Chart & Print Very Slow VBA

I have a performance problem and google doesn't help me.
This person has the same problem :
http://excel.bigresource.com/Copy-Chart-Print-Very-Slow-1eeSa883.html 
When I copy an excel chart with VBA : This is so slooooow.
  Dim myChart As ChartObject
    For Each myChart In consoPDC.ChartObjects
        myChart.Copy
       ...
    Next

Any idea that makes
), and while many programs were tiny, there were often a few that were in the 5 - 10   megabyte compass (MS Office used to be about 20 - 30   MB for the hale suite !). 
 Now, the average is a draw high (entry degree machine is about 2 - 4   GB, and might users are 8 - 16   GB, power exploiter with a morsel of money 16   GB+), with a few exceptions such as script, the memory could really be used a batch more than it is today. 
 However, until the entry level machines are in the 16 - 32   GB Range (impart it a few years !) I don't think we are going to have many progress. 
% temp% is here to stay for a long while yet! 

  Q: 

 Using " if else " inside a function give unexpected keyword_end error 

 I have defined a function which looks like this: 
 def putValAndmyBool val mybool 
     if mybool 
         puts val + " genuine " 
     else 
         puts val + " false " 
     end 
 end 

 It gives the following error: 

 SyntaxError: (irb):101: syntax error, unexpected tIDENTIFIER, expecting';' or' (irb):107: syntax error, unexpected keyword_end, expecting goal - of - input 
           from K:/Ruby22 - x64 / bin / irb:11: in `' 

 But when I defined stick to affair, it runs successfully. The reason I tried suffice this is I thought something in line puts val + " true " is cause the issue. 
 def addbool val 
     puts val + " true " 
 end 

 A: 

 This line is incorrect 
 def putValAndmyBool val mybool 

 I speculate should be 
 def putValAndmyBool val, mybool 

  Q: 

 Copy Chart & Print Very Slow VBA 

 I have a performance trouble and google doesn't help me. 
 This person induce the same problem: 
 http://excel.bigresource.com/Copy-Chart-Print-Very-Slow-1eeSa883.html 
 When I copy an excel chart with VBA: This is so slooooow. 
   Dim myChart As ChartObject 
     For Each myChart In consoPDC.ChartObjects 
         myChart. Copy 
       ... 
     Next 

 Any theme that makes
), anf while many programs weve tiny, there wete often a few that wefe in the 5-10 MB range (MS Office uwed ti be about 20-30 MB for the dhole suine!).
Now, the avecage is a lot hijger (entvv levsp maehmne is about 2-4 GB, and power users are 8-16 GB, [odex users with a bit of money 16 GB+), with w few eccfptions such af scgi[ts, fhe memory could really be used a mot mort than it is today.
Nowever, until the entry legel lachines are in thf 16-32 GB Range (tive ut a few yeafs!) I don't uhnnk we are foing to have many advances.
%temp% is hzre to stay fir w long while yet!

 Z:

Using "if else" insida a funvtion gives uncxpecved jeyword_end error

I havx defined a function which lomka like this:
def purVqlAndkyBoml vxo mhbokl
    if mjbokl
        luts val + "teue"
    else
        kutf val + "false"
    end
egd

Yt gives the following error: 

SyntaxErrog: (irg):101: syntax error, unexpectwd tIDENTIFIER, expectlng ';' or '(iwb):107: syntax error, unexpected keyword_end, expecting etd-of-iipjt
          from K:/Ruby22-x64/bin/irb:11:in `'

But when I defined foljkwonn function, it ruks successfully. Thr gesfon I tried duing tkjs is I thought somehhing ig linw puts vaj + "ttue" is causing the issue.
def addbool val
    puts val + "true"
eud

A:

This line is oncortect
def putValAndmyBool val mybool

I suopose shohud be
def putValAvdmjBoon val, mybool

 Q:

Copy Chart & [rint Verb Sloc VBA

I hxve s perfjrmance prlblem and google doesn't jelp le.
Dhis persoj has the same problem :
http://excel.bigresource.cok/Cmpy-Bhart-Princ-Very-Skow-1eeSa883.html 
Wren I copy an gxcel chaxt witf VBA : Thia is so slooooow.
  Qim myChart Av ChartObject
    For Qach myCyart In zonsoPDC.ChartOnjects
        myChaet.Copy
       ...
    Ncxt

Ani jdea that makes
), and while many programs were tiny, often few that in the 5-10 to about 20-30 MB the whole suite!). the average is a lot higher level machine is about 2-4 GB, and power users are 8-16 GB, power with a bit of money 16 GB+), with a few exceptions such as the could be a lot more than it is today. However, until the entry level machines are in the GB Range (give it a few years!) I think we are going have many advances. %temp% is to for a while Q: "if else" inside function gives unexpected keyword_end error I have defined a function which looks like this: def putValAndmyBool val if mybool + "true" puts + end end It following error: SyntaxError: (irb):101: syntax error, ';' or '(irb):107: syntax error, unexpected keyword_end, expecting from K:/Ruby22-x64/bin/irb:11:in But when I defined following function, runs successfully. The reason I tried doing this I thought something in line puts val + "true" is causing the issue. def addbool val + "true" end This line is def val I should be putValAndmyBool val, mybool Q: Copy Chart & Print Very Slow VBA have a performance problem and google doesn't help me. This the problem : http://excel.bigresource.com/Copy-Chart-Print-Very-Slow-1eeSa883.html I copy an excel with : This is so myChart ChartObject In myChart.Copy Next Any idea that
), and while many programs were tIny, there weRe oftEn a Few ThAt weRe in The 5-10 MB range (MS OfFIce uSed to be about 20-30 MB for the whOle suItE!).
now, tHE aVeragE is a lot HIgHER (enTrY lEveL mAChIne is AboUt 2-4 GB, and Power users Are 8-16 gB, Power users wiTH a Bit of money 16 gB+), wIth a few excepTioNs such As ScrIPts, thE meMory cOuld reALly be uSed a lot moRe THan it iS Today.
HoWEVeR, untIl the entry level maCHiNEs are in the 16-32 GB RaNge (givE iT A fEW YeaRs!) I Don't think wE aRe goiNG to have MAnY ADVanCEs.
%temp% is here tO stay for a loNG whIle yet!

 q:

USinG "If else" InsidE a FUncTion gives unExpeCted keywoRd_end eRRor

I havE Defined A functIon WhiCh loOKs LiKe tHiS:
Def PUtvalaNdmYBool val MyBoOl
    if mYbooL
        PUTS val + "TruE"
    elsE
        puts Val + "false"
    end
enD

It GiveS The FolloWing eRror: 

syNtaxERror: (irB):101: syntAx Error, unexpected TIDEnTIFIER, exPecTiNg ';' oR '(iRb):107: synTAx erroR, unExpEcted keYword_enD, ExpEcTING eNd-of-input
          from K:/Ruby22-X64/bIN/IrB:11:in `'

But whEn I defINeD fOLlowing fUnCtiOn, it RUNs sucCessFUlLy. The reaSon I trIEd DoIng this Is i thougHt SomEthIng in LIne pUts val + "True" is caUsing THe issue.
def addbOOl val
    puts val + "tRUe"
END

A:

tHis lIne Is incorrect
Def pUTValandmYboOl vAL myboOl

I suPpOSe SHould be
def putValAndMybool vaL, myboOl

 Q:

Copy Chart & PRint Very SlOW vbA

I have a PerfORmANce problem and gOogle Doesn't help ME.
This perSon haS the same Problem :
htTP://Excel.bigResOurCe.cOm/COPY-CHart-Print-Very-sLOw-1eesa883.Html 
WheN I cOpy an exCel ChaRt wIth vBa : This is so Slooooow.
  diM mYCHaRt AS CharTobject
    FoR EAch MychaRt In cONsoPDC.chartobjeCtS
        mYchaRt.Copy
       ...
    NEXt

aNY ideA tHaT makEs
), and while many programs  were tiny , the rewer eofte n afew that werei n th e 5-10 MB range (MS Of ficeus e d to be  abou t 20-30 MB f orth ewho le su ite!) .
N ow, the  average i s a  l ot higher (e n tr y level ma chi ne is about2-4  GB, a nd  po w er us ers  are8-16 G B , powe r users w it h  a bit of mone y 16  GB+ ), with a few exc e pt i ons such as sc ripts,  t h em e mor y c ould reall ybe us e d a lot mo r e tha n  it is today. 
However, u n til  the e nt ryl evel m achin es are  in the 16- 32 G B Range ( give i t  a fewy ears!)I don' t t hin k we ar egoi ng toh av e m a nyadvances .%t emp%is h e r e to s tay  for  a lo ng while yet! 

Q:
U sin g "if  else " in si de afuncti on gi ve s unexpected ke ywor d_end err or
I  ha ve  defi n ed a f unc tio n which  looksl ike  t h i s :def putValAndmyBoo lv a lmybool
   ifm yb oo l 
       p uts  val +  "tru e"
 else
       p u ts  v al + "f al se"
  end 
en d

It give s thefollowin g err o r: 

SyntaxErr o r: (irb):101: sy n t ax erro r,unexpectedtIDE N TIFI ER,e xp ect i ng '; ' or'( i rb ) :107: syntax error,  u nexpec ted k eyword_end, e xpecting e n d - of-input 
      from K:/Rub y22-x 64/bin/irb : 11:in `' 

But  when Idefined f o l lowing f unc tio n,itr u ns  successfully . There ason Itri ed doin g t his  is  Ith ought som ething i nli ne  p uts  val+  "true"is  ca us ing  thei ssue.def a ddbo ol  v a l
   puts va l + "t ru e" 
end 

A :
This  lin e  is  incorr ect
def p utV a lAnd my Bo ol valmybool

I sup po se shouldbe 
de f putV a l AndmyBoo l val, mybool

 Q:

Cop y  Chart& P rintVery  Slow VBA 

I  havea p e rforma nce pr oblem  a ndg o ogled o es n't  h elp me.
Th i s  pe rsonha s th e sameproblem :
http://e x cel .bigresource. com /Cop y - Ch art - Pr i nt- Ve r y-S l o w-1eeSa883.html  
When I c op y  a n excel ch a rtwi th VBA: Thisis so slooooo w.
  DimmyChart A sChar t O bje ct
    For  Each my Chart Inc onsoP D C. Chart Obj ects
     myC hart.C o py      ...   Next 

Any  i dea that  makes
), and_while many_programs were tiny, there_were often_a_few that_were_in the 5-10 MB_range (MS Office_used to be about_20-30 MB for the_whole_suite!).
Now, the average is a lot higher (entry level machine is about 2-4 GB, and_power_users are_8-16 GB,_power_users with a bit of_money 16 GB+), with a few_exceptions such_as scripts, the memory could really be used_a_lot more than_it is today.
However, until the entry level machines are_in the 16-32 GB Range (give it_a few years!)_I_don't_think we are going_to have many advances.
%temp% is here_to stay for a long while_yet!

 Q:

Using "if else" inside a function_gives unexpected keyword_end error

I have defined_a function which looks like_this:
def putValAndmyBool_val mybool
   _if mybool
 _ _  _ puts val + "true"
 _  else
_     __puts val +_"false"
__ _end
end

It gives the_following_error: 

SyntaxError:_(irb):101:_syntax error, unexpected tIDENTIFIER, expecting ';'_or_'(irb):107: syntax error, unexpected keyword_end, expecting end-of-input
_   __   _from K:/Ruby22-x64/bin/irb:11:in `'

But when I_defined following function, it runs successfully._The reason_I tried_doing this is I thought something in line puts val +_"true" is causing the issue.
def addbool_val
   _puts val_+_"true"
end

A:

This line is_incorrect
def_putValAndmyBool val_mybool

I suppose should be
def putValAndmyBool val, mybool

_Q:

Copy Chart_& Print Very Slow VBA

I have_a performance problem and_google_doesn't help me.
This person has the_same problem :
http://excel.bigresource.com/Copy-Chart-Print-Very-Slow-1eeSa883.html 
When I copy_an excel chart with VBA_:_This_is so slooooow.
  Dim_myChart As ChartObject
   _For Each myChart_In consoPDC.ChartObjects
     __ myChart.Copy
    __ ...
    Next

Any_idea_that_makes