Questions tagged [routines]

103 questions
32
votes
2 answers

What's the technical definition for "routine"?

I'm studying lisp language (to do lisp routines) and in a general context i know what's a routine, but in a technical context i can talk about it, because i'm starting to learn routines now. So, what's the real definition of routine? (i've already…
FERNANDO MESQUITA
  • 385
  • 1
  • 3
  • 4
17
votes
4 answers

what is a stub routine?

In regards to C what is a stub routine? Also an example would be much appreciated as well.
Dustin Gamester
  • 792
  • 3
  • 8
  • 24
9
votes
1 answer

Why do the default Raku if/while/loop/when blocks all have the same identity value (.WHICH)?

Except for the block where I declared a signature, all of the blocks have the same identity value, and claim to be declared on line 1 regardless of where they occur. Could anyone shed some light as to why this is the case? say 「Let's look at some…
Daniel Mita
  • 512
  • 2
  • 9
6
votes
2 answers

Ending a macro within a called subroutine

I have a macro (CMOV) which calls another subroutine (CMOV2) that checks for a condition which, if met, displays a vbokaycancel message box which i set equal to a variable called irep, I want it if someone hits cancel (irep=2) for it to call off…
PocketLoan
  • 534
  • 4
  • 13
  • 28
5
votes
2 answers

Basic building blocks for cross-browser equivalence?

I found my self in my old routines, building the web page as I have always been doing. Just to include a bunch of patches to fix the inconsistencies between different browsers. So I was wondering... Is there a basic list of building blocks,…
Niklas
  • 13,005
  • 23
  • 79
  • 119
5
votes
2 answers

Are "subroutine" and "routine" the same concept?

I have seen both "subroutine" and "routine" used in programming language books. Are they the same concept? What does "sub-" mean? I guess there are many examples which you might have seen in computer science books, besides the following one from…
Tim
  • 1
  • 141
  • 372
  • 590
4
votes
2 answers

Timer example using timer.Reset() not working as described

I've been working with examples trying to get my first "go routine" running and while I got it running, it won't work as prescribed by the go documentation with the timer.Reset() function. In my case I believe that the way I am doing it is just fine…
user5429087
  • 139
  • 2
  • 10
4
votes
2 answers

TALEND set a context variable depending from TalendDate

I want to set a context variable depending from a TalendDate routine in the "value as Table" tab which would allow me to select the day of yesterday : TalendDate.formatDate("yyyy-MM-dd", TalendDate.addDate(TalendDate.getCurrentDate(),-1,"dd")) It…
user3463383
  • 43
  • 1
  • 2
  • 6
3
votes
2 answers

User-defined routine in Doctrine 1.2?

I have to write an user-defined routine for my MySQL database (calculating distance function). Is it possible to define it in yaml schema file? After defining routine in terminal mysql-client everything is ok until 'doctrine build-all-reload' -…
Tomasz Rozmus
  • 1,646
  • 13
  • 21
3
votes
2 answers

How to make a trigger that fires after update only for tables that begin with a "Table_"

I am trying to make a trigger that fires under certain conditions conditions AFTER a UPDATE , on tables that start with a specific string like "A_" for example. CREATE TABLE `Table_TEST` ( `id` INT(11) NULL DEFAULT NULL, `A` INT(11) NULL…
user1986815
3
votes
20 answers

What single characteristic is most important for a good routine?

Routines, procedures, methods - whatever you call them, they are important building blocks for us developers. What single characteristic would you rate as the most important one? (By providing one characteristic per answer, it is possible to vote…
Ola Eldøy
  • 5,720
  • 7
  • 49
  • 82
3
votes
1 answer

Unable to use PHPMyAdmin's Edit Routine panel for multi-line procedures

PHPMyAdmin includes an 'add routine' and 'edit routine' panel in newer versions. The developers talked about how it could be used to write routines that are 'hundreds of lines long', but they only showed single statement routines when they were…
3
votes
3 answers

Unable to solve this error: error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112) -- any ideas on what to try?

This error arose while I was trying to deploy to aws. It turns out this is an issue on my machine that others are no experiencing. jkazil@jlk:~/Projects/code/geoq-chef-repo [git master] $ vagrant up --provider=aws Bringing machine 'default' up with…
jackiekazil
  • 5,696
  • 4
  • 21
  • 20
3
votes
1 answer

Count recurring records on data base every 30 minutes interval

I need some help on the below i have the table "Data" getting data stored on it like the below +------------+----------+----------- | regdate | regtime | items +------------+----------+----------- | 2013-03-02 | 09:12:03 | item1 …
Ahmed ElGamil
  • 179
  • 1
  • 13
2
votes
1 answer

Grails create routines

In my Grails project i need to create a routine so that, in xx seconds, i need to query the database and send an email to the found users. This routine must be running all the time. I want to know the best way to do this, i'm looking for the easiest…
recoInrelax
  • 697
  • 2
  • 16
  • 33
1
2 3 4 5 6 7